home *** CD-ROM | disk | FTP | other *** search
/ ShareWare OnLine 2 / ShareWare OnLine Volume 2 (CMS Software)(1993).iso / prog / ipro302.zip / EXAMPLE.001 next >
Text File  |  1993-06-05  |  5KB  |  148 lines

  1. ;This is designed to help you get your installation organized.  The
  2. ;intention is to provide examples with proper syntax, not to provide
  3. ;an actual working script.  Look at install.001 distributed with
  4. ;Install-Pro for an example of an actual script.  Please note that
  5. ;this is not supposed to displace the use of the documentation.
  6. ;Many helpful hints, suggestions and examples accompany the
  7. ;definitions for many of the commands.
  8. ;
  9. ;Advanced topics such as splitting and rejoining multi-disk files
  10. ;and running external programs are discussed fully in the
  11. ;documentation
  12.  
  13.  
  14. ;-----------------------------------------------------------------
  15. ;      Commands that only are recognized in install.001
  16. ;-----------------------------------------------------------------
  17. ; The exact order for Disk 1 preprocessing is:
  18. ;   1. Check target machine for sufficient equipment, DOS version, etc.
  19. ;   2. Display welcome screen.
  20. ;   3. User completes form choosing OPTIONal portions of installation.
  21. ;   4. User enters destination directories.
  22. ; After these four tasks are completed, then disk-by-disk
  23. ; processing (described below) begins.
  24. ;-----------------------------------------------------------------
  25.  
  26. BANNER "   Insert your opening screen title line here "
  27.  
  28. HELLO  "   Any number of lines of text like this can be defined here.   "
  29. HELLO  "   Up to 13 lines are allowed on a single screen.
  30. HELLO  "   Screens may be broken up if desired with HELLOBREAK"
  31.  
  32. ;Up to 8 user prompt lines can be entered here.  These lines
  33. ;define the data entry form that the user sees, and creates space for
  34. ;the rest of the program to function.
  35.  
  36. USER   label_1 "Prompt 1" C:\DEFAULT1
  37. USER   label_2 "Prompt 2" C:\DEFAULT2
  38.  
  39. ;Make sure the user has some disk space left with this next
  40. ;optional command
  41.  
  42. SPACE label_1 150000
  43.  
  44. ;Name your first installation disk something besides "Disk 1" with this
  45. ;next command.
  46.  
  47. FIRSTDISK "Install Disk"
  48.  
  49. ;Define the target environment with these.  Give the user a break
  50. ;and only define the ones that are essential.
  51.  
  52. ;If you need a math coprocessor
  53. FPU
  54.  
  55. ;If you need a 286 or higher CPU (legal values are 86, 88, 286, 386)
  56. CPU 286
  57.  
  58. ;If you need MS-Dos 3.30 or higher
  59. VER 3.30
  60.  
  61. ;If you need 356K or more installed RAM
  62. RAM 356
  63.  
  64. ;If you need FILES= 20 or higher
  65. CONFIGFILES 20
  66.  
  67. ;If you need the path associated with label_1 added to autoexec.bat
  68. PATH label_1
  69.  
  70. ;Optional msg to tell your customer how to contact you:
  71. ONERROR "Call XYZ Inc if the problem cannot be corrected"
  72.  
  73. ;------------------------------------------------------------------
  74. ;         Commands that are processed Disk-by-Disk
  75. ;------------------------------------------------------------------
  76. ; The exact order of processing for these commands is:
  77. ;   1. Create all subdirectories.
  78. ;   2. Transfer all files
  79. ;   3. Decompress files
  80. ;   4. Run external programs
  81. ;------------------------------------------------------------------
  82.  
  83. SUBDIR label_1 child1
  84. SUBDIR label_2 child2\child3
  85.  
  86. ;Any number of transfer files can go here - just make sure that you
  87. ;only specify those files on the current installation disk.
  88.  
  89. FILE label_1 file.001
  90. FILE label_2 file.002
  91. FILE label_3 file.003
  92.  
  93.  
  94. ;Transfer files to child subdirectories too
  95.  
  96. FILE label_1 child1\file.004
  97. FILE label_2 child2\child3\file.005
  98.  
  99.  
  100. ;Want to distribute compressed files?  Here's how to decompress them.
  101.  
  102. UNZIP label_1 ZIPfile
  103.  
  104.  
  105. ;--------------------------------------------------------------
  106. ;         Commands that may appear anywhere safely
  107. ;--------------------------------------------------------------
  108.    
  109. GOODBYE "   Build a thank-you screen, a good-bye screen, or whatever"
  110. GOODBYE "   kind of screen you want. Blank lines can be generated with"
  111. GOODBYE ""
  112. GOODBYE "   empty quotes"
  113.  
  114.  
  115. ;------------------------------------------------------------------
  116. ; Commands that tell Install-Pro whether to continue to a new disk
  117. ;------------------------------------------------------------------
  118. ; The exact order of Install-Pro disk termination is:
  119. ;   1. Prompt for a new disk if needed -or-
  120. ;   2. Update autoexec.bat as needed.
  121. ;   3. Update config.sys as needed.
  122. ;   4. Chain to new installation if needed -or-
  123. ;   5. Display goodbye screen
  124. ;   6. End
  125. ;------------------------------------------------------------------
  126.  
  127.  
  128. ;END specifies that this is the last disk.
  129.  
  130. END
  131.  
  132.  
  133. ;DISK specifies that there are more disks to process
  134.  
  135. DISK "Utilities Disk"
  136.  
  137.  
  138. ;CHAIN attempts to load a new copy of Install-Pro for multiple
  139.  
  140. ;installations in one sitting.
  141.  
  142. CHAIN
  143.  
  144. ;Required for registered versions of Install-Pro - see the documentation
  145. ;for details.
  146. AUTHORIZATION 00000
  147.  
  148.